#ifndef USERDATABASE_H
#define USERDATABASE_H

#include "Database.h"
#include "User.h"

class UserDatabase : protected Database
{
public:
    UserDatabase();
    ~UserDatabase();

    int addUser(QString username, QString password, User::UserType type);

    int getId(QString username, QString password);
    User::UserType getType(int userId);

private:
    void initDatabase();
};

#endif // USERDATABASE_H
